home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
falcon
/
programm.ing
/
falclib2.lzh
/
ROUTS
/
SAVEFILE.S
< prev
next >
Wrap
Text File
|
1994-08-12
|
378b
|
32 lines
*
* SAVEFILE.S
*
* @savefile
*
* Saves data as a file.
*
* In a5.l=adr. till nollavslutat filnamn
* a6.l=source
* d7.l=fillängd
*
include gem.s
@savefile
move #0,-(sp) create file
move.l a5,-(sp)
@gemdos $3c,8
move d0,d6
move.l a6,-(sp) write
move.l d7,-(sp)
move d6,-(sp)
@gemdos $40,12
move d6,-(sp) close
@gemdos $3e,4
rts